home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Amiga Amateur Radio User Group
/
AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip
/
AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf
/
DisView
/
FTPOPT
< prev
next >
Wrap
Text File
|
1995-05-21
|
4KB
|
116 lines
====== DISview [518]
ftpopt
======
_________________________________________________________________
ftpopt ascii
_________________________________________________________________
Set the default file transfer mode to ASCII.
>> Example: ftpopt ascii
-----------------------------------------------------------------
ftpopt binary
-----------------------------------------------------------------
Set the default file transfer mode to binary.
>> Example: ftpopt binary
-----------------------------------------------------------------
ftpopt hash
-----------------------------------------------------------------
A synonym for the 'ftpopt verbose 3' command.
>> Example: ftpopt hash
-----------------------------------------------------------------
ftpopt pager [on|off]
-----------------------------------------------------------------
Display or set screen display flow control. When set to 'on', a
-More- prompt is displayed after each screenful of output. Hit
the spacebar to get the next screenful.
>> Example: ftpopt pager on
-----------------------------------------------------------------
ftpopt type [ascii | binary | logical0 <bytesize>]
-----------------------------------------------------------------
Sets the default file transfer mode.
Type 'ascii' means ASCII (i.e. a text file). In ASCII mode,
files are sent as varying length lines of text in ASCII separated
by CR/LF sequences. The 'ftpopt type ascii' command is the same
as 'ftpopt ascii'.
Type 'binary' means image (i.e. binary). In image mode, files
are sent exactly as they appear in the file system. The
'ftpopt type binary' command is the same as 'ftpopt binary'.
Type 'logical' (logical byte size) is used when exchanging
binary files with remote servers having oddball word sizes
(eg. DECSYSTEM-10s and 20s). Locally it works exactly like
image, except that it notifies the remote system how large the
byte size is. The parameter <bytesize> is typically 8.
ASCII mode should be used whenever transferring text between
dissimilar systems (eg. Unix and DOS) because of their different
end-of-line and/or end-of-file conventions. When exchanging text
files between machines of the same type, either mode will work
but image mode is usually faster.
Naturally, when exchanging raw binary files (executables,
compressed archives, etc) image mode must be used.
>> Example: ftpopt type binary
-----------------------------------------------------------------
ftpopt verbose [0 | 1 | 2 | 3] Default: 2
-----------------------------------------------------------------
Set or display the level of message output in file transfers.
Verbose 0 gives the least output, and verbose 3 the most, as
follows:
0: Display error messages only.
1: Display error messages plus a one-line summary after each
transfer giving the name of the file, its size, and the
transfer time and rate.
2: Display error and summary messages plus the progress messages
generated by the remote FTP server.
3: Display all messages. In addition, a "hash mark" (#) is
displayed for every 1,024 bytes sent or received.
'verbose 3' is equivalent to 'ftpopt hash'
If a command is sent to the remote server because it is not
recognized locally, the response is always displayed, regardless
of the setting of 'verbose'. This is necessary for commands like
'pwd' (display working directory), which would otherwise produce
no message at all if 'verbose' were set to 0 or 1.
>> Example: ftpopt verbose 3
-----------------------------------------------------------------
ftpopt wrap <cols>
-----------------------------------------------------------------
Set the screen wrap to <cols>. Recommended value of <cols> for a
standard 25-line 80-column ASCII screen is 79.
Set <cols> to 0 to turn off screen wrapping.
>> Examples: ftpopt wrap 79
ftpopt wrap 0